from operator import mod
from django.db import models

# Create your models here.
class players(models.Model):
    player_name = models.CharField(max_length=64)
    Permission_level = models.SmallIntegerField()

class CreditRecord(models.Model):
    player = models.ForeignKey(players,on_delete=models.CASCADE)
    creditchange = models.IntegerField()
    changereason = models.CharField(max_length=1024)
